﻿using UnityEngine;
using System;
using System.Collections;
using Hont.C2UTool;

public class C2UStaticInfoLayerSyncer : MonoBehaviour, IC2UStaticInfoReceiver
{
    public string targetLayer;


    public void OnStaticInfoReplaced()
    {
        gameObject.layer = LayerMask.NameToLayer(targetLayer);
        DestroyImmediate(this);
    }
}
